|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IIntervalFitness
Interface for adding interval fitness to individuals.
The interval has a minimum and maximum, the
width (maximum - minimum) and a center (maximum - width/2).
| Field Summary |
|---|
| Fields inherited from interface ga.core.individual.IFitness |
|---|
UNEVALUATED |
| Method Summary | |
|---|---|
double |
getFitnessWidth()
Getter for the fitness width (max-min). |
double |
getMaxFitness()
Getter for the maximum fitness. |
double |
getMinFitness()
Getter for the minimum fitness. |
void |
setFitnessInterval(double center,
double width)
Sets the fitness interval by its center and width. |
void |
setFitnessLimits(double min,
double max)
Sets the fitness interval by its minimum and maximum. |
| Methods inherited from interface ga.core.individual.IFitness |
|---|
getFitness, setFitness |
| Method Detail |
|---|
double getMinFitness()
double getMaxFitness()
double getFitnessWidth()
void setFitnessInterval(double center,
double width)
center - Center of the fitness interval.width - The width of the fitness interval.
void setFitnessLimits(double min,
double max)
min - Minimum fitness.max - Maximum fitness.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||